package gameFile;

import java.awt.Color;
//import java.awt.event.KeyEvent;
//import java.awt.event.KeyListener;

import gameFile.GamePlay.*; 
public class HumanPlayer extends LightBike {

	
	public boolean isWinner = false;
	public HumanPlayer() {
		super();
		//this.action = Action.GOSTRAIGHT;
		this.bikeColor = Color.cyan;
		this.wallColor = Color.green;

	}
	
	public HumanPlayer(Action action) {
		super();
		this.action = action;
		this.bikeColor = Color.cyan;
		this.wallColor = Color.green;
	}
	
	public HumanPlayer (int id, int x, int y, int speed, Direction direction, Color color) {
		super(id,x,y,speed,direction);
		this.action = Action.GOSTRAIGHT;
		this.bikeColor = color;
		this.wallColor = Color.green;
		this.wallColor = Color.green;
	}
	
//	public void setAction(Action act)
//	{
//		this.action = act;
//	}
	
//	public WallSegment playTurn(Difficulty d) {
//		moveBike();
//		WallSegment wall = null;
//		wall = this.getTrailingWall();
//		switch(action){
//		
//		case GOLEFT:
//		//	wall = this.getTrailingWall();
//			this.moveLeft();
//			break;
//		case GORIGHT:
//		//	wall = this.getTrailingWall();
//			this.moveRight();
//			break;
//		
//		case GOSTRAIGHT:
//		//	wall = this.getTrailingWall();
//			break;
//		}
//		action = Action.GOSTRAIGHT;
//		
//		return wall;
//	}
	



	
	
}
